home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gTimerAll
- set the idleHandlerPeriod to 60 * 10
- cursor(-1)
- set the keyDownScript to EMPTY
- set the mouseDownScript to EMPTY
- set the timeoutScript to EMPTY
- pause()
- end
-
- on idle
- global gTimerAll, gTimeIntervallo, gDoAndQuit, gJustLaunched, gSourceFolder, gDestFolder
- if gTimerAll then
- DoTimerScript()
- else
- if gDoAndQuit and gJustLaunched then
- if (gSourceFolder = EMPTY) or (gDestFolder = EMPTY) then
- quit()
- end if
- DoSynchronize()
- quit()
- end if
- end if
- end
-